<header class="main-header">
    <!-- Logo -->
    <a href="{:url('home/Index/index')}" class="logo">
        <!-- mini logo for sidebar mini 50x50 pixels -->
        <span class="logo-mini"><b>C</b>mf</span>
        <!-- logo for regular state and mobile devices -->
        <span class="logo-lg"><b>Inge</b>CMF</span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
            <span class="sr-only">切换侧边栏</span>
        </a>
        <!-- Navbar Right Menu -->
        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <!-- Messages: style can be found in dropdown.less-->
                <!-- 代办事项，有需要加载headermsg.html -->
                <!-- User Account: style can be found in dropdown.less -->
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="{$u_info.avatar|default='/static/img/user2-160x160.jpg'}" class="user-image" alt="User Image">
                        <span class="hidden-xs">{$u_info.user_name}</span>
                    </a>
                    <ul class="dropdown-menu">
                        <!-- User image -->
                        <li class="user-header">
                            <img src="{$u_info.avatar|default='/static/img/user2-160x160.jpg'}" class="img-circle" alt="User Image">
                            <p>
                                用户组:{$u_auth.auth_name} 组
                                <span>email:<small>{$u_info.email}</small></span>
                            </p>
                        </li>
                        <!-- Menu Body -->
                        <li class="user-body">
                            <!-- <div class="row">
                                <div class="col-xs-4 text-center">
                                    <a href="#">Followers</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">Sales</a>
                                </div>
                                <div class="col-xs-4 text-center">
                                    <a href="#">Friends</a>
                                </div>
                            </div> -->
                            <!-- /.row -->
                        </li>
                        <!-- Menu Footer-->
                        <li class="user-footer">
                            <div class="pull-left">
                                <a onclick="addTabs({id:'10002',title: '个人资料',close: true,url: 'home/Index/profile'});"  class="btn btn-default btn-flat nav-li">个人资料</a>
                            </div>
                            <div class="pull-right">
                                <a href="{:url('home/Login/logOut')}" class="btn btn-default btn-flat">退出</a>
                            </div>
                        </li>
                    </ul>
                </li>
                <!-- Control Sidebar Toggle Button -->
                <li>
                    <a href="#" data-toggle="control-sidebar"><i class="fa fa-gears"></i></a>
                </li>
            </ul>
        </div>
    </nav>
</header>
